import { Module } from '@nestjs/common';
import { User } from "./model/User";
import UserService from './service/MemberService';
import AffiliateService from './service/AffiliateService'

import UserController from "./controller/MemberController";
import AffiliateController from "./controller/AffiliateController";
import AuthController from "./controller/AuthController";
import SubscribeController from "./controller/SubscribeController";
import ScoreController from "./controller/ScoreController";


@Module({
  imports: [User],
  controllers: [
    UserController,
    AffiliateController,
    AuthController,
    SubscribeController,
    ScoreController,
  ],
  providers: [UserService, AffiliateService],
})
export class App { }
